<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="generator" content="ApiGen 2.8.0" />

	<title>Class modele | pwe-project</title>

	<script type="text/javascript" src="resources/combined.js?682347548"></script>
	<script type="text/javascript" src="elementlist.js?1761807718"></script>
	<link rel="stylesheet" type="text/css" media="all" href="resources/style.css?3505392360" />

</head>

<body>
<div id="left">
	<div id="menu">
		<a href="index.html" title="Overview"><span>Overview</span></a>


		<div id="groups">
			<h3>Packages</h3>
			<ul>
				<li><a href="package-API.html">API</a>
						</li>
				<li><a href="package-None.html">None</a>
						</li>
				<li><a href="package-PHP.html">PHP</a>
						</li>
				<li class="active"><a href="package-PWE.html">PWE<span></span></a>
						<ul>
				<li><a href="package-PWE.bdd.html">bdd</a>
						</li>
				<li><a href="package-PWE.controler.html">controler</a>
						</li>
				<li class="active"><a href="package-PWE.modele.html">modele<span></span></a>
						<ul>
				<li><a href="package-PWE.modele.menu.html">menu</a>
						</li>
							</ul></li>
				<li><a href="package-PWE.tools.html">tools</a>
						</li>
							</ul></li>
			</ul>
		</div>

		<hr />


		<div id="elements">
			<h3>Classes</h3>
			<ul>
				<li class="active"><a href="class-modele.html">modele</a></li>
				<li><a href="class-modele_adresse.html">modele_adresse</a></li>
				<li><a href="class-modele_category.html">modele_category</a></li>
				<li><a href="class-modele_galerie.html">modele_galerie</a></li>
				<li><a href="class-modele_media.html">modele_media</a></li>
				<li><a href="class-modele_page.html">modele_page</a></li>
				<li><a href="class-modele_permalien.html">modele_permalien</a></li>
				<li><a href="class-modele_post.html">modele_post</a></li>
				<li><a href="class-modele_publication.html">modele_publication</a></li>
				<li><a href="class-modele_redirection.html">modele_redirection</a></li>
				<li><a href="class-modele_region.html">modele_region</a></li>
				<li><a href="class-modele_translate.html">modele_translate</a></li>
				<li><a href="class-modele_user.html">modele_user</a></li>
			</ul>





		</div>
	</div>
</div>

<div id="splitter"></div>

<div id="right">
<div id="rightInner">
	<form id="search">
		<input type="hidden" name="cx" value="" />
		<input type="hidden" name="ie" value="UTF-8" />
		<input type="text" name="q" class="text" />
		<input type="submit" value="Search" />
	</form>

	<div id="navigation">
		<ul>
			<li>
				<a href="index.html" title="Overview"><span>Overview</span></a>
			</li>
			<li>
				<a href="package-PWE.modele.html" title="Summary of PWE\modele"><span>Package</span></a>
			</li>
			<li class="active">
<span>Class</span>			</li>
		</ul>
		<ul>
			<li>
				<a href="tree.html" title="Tree view of classes, interfaces, traits and exceptions"><span>Tree</span></a>
			</li>
			<li>
				<a href="deprecated.html" title="List of deprecated elements"><span>Deprecated</span></a>
			</li>
			<li>
				<a href="todo.html" title="Todo list"><span>Todo</span></a>
			</li>
		</ul>
		<ul>
			<li>
				<a href="pwe-project-api-documentation.zip" title="Download documentation as ZIP archive"><span>Download</span></a>
			</li>
		</ul>
	</div>

<div id="content" class="class">
	<h1>Class modele</h1>





	<div>
		<h4>Direct known subclasses</h4>
			<a href="class-modele_adresse.html">modele_adresse</a>, 
			<a href="class-modele_category.html">modele_category</a>, 
			<a href="class-modele_redirection.html">modele_redirection</a>, 
			<a href="class-modele_region.html">modele_region</a>, 
			<a href="class-modele_translate.html">modele_translate</a>, 
			<a href="class-modele_user.html">modele_user</a>, 
			<a href="class-modules_cvtheque_competence.html">modules_cvtheque_competence</a>, 
			<a href="class-modules_cvtheque_experience.html">modules_cvtheque_experience</a>, 
			<a href="class-modules_cvtheque_formation.html">modules_cvtheque_formation</a>, 
			<a href="class-modules_cvtheque_metier.html">modules_cvtheque_metier</a>, 
			<a href="class-modules_cvtheque_permis.html">modules_cvtheque_permis</a>, 
			<a href="class-modules_societe_societe.html">modules_societe_societe</a>, 
			<a href="class-modele_galerie.html">modele_galerie</a>, 
			<a href="class-modele_media.html">modele_media</a>, 
			<a href="class-modele_menu.html">modele_menu</a>, 
			<a href="class-modele_menu_item.html">modele_menu_item</a>, 
			<a href="class-modele_newsletter.html">modele_newsletter</a>, 
			<a href="class-modele_permalien.html">modele_permalien</a>, 
			<a href="class-modele_post.html">modele_post</a>, 
			<a href="class-modele_publication.html">modele_publication</a>
	</div>

	<div>
		<h4>Indirect known subclasses</h4>
			<a href="class-modele_page.html">modele_page</a>, 
			<a href="class-modele_tag.html">modele_tag</a>, 
			<a href="class-modules_cvtheque_candidat.html">modules_cvtheque_candidat</a>, 
			<a href="class-modules_societe_employe.html">modules_societe_employe</a>
	</div>





	<div class="info">
		
		
		
		<b>Package:</b> <a href="package-PWE.html">PWE</a>\<a href="package-PWE.modele.html">modele</a><br />

				<b>Author:</b>
				Gmax &lt;<a
href="mailto:gmaxfr78&#64;gmail.com">gmaxfr78&#64;<!---->gmail.com</a>&gt;<br />
		<b>Located at</b> <a href="source-class-modele.html#2-107" title="Go to source code">engine/class/modele.class.php</a><br />
	</div>



	<table class="summary" id="methods">
	<caption>Methods summary</caption>
	<tr data-order="_getResults" id="__getResults">

		<td class="attributes"><code>
			 protected 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#__getResults">#</a>
		<code><a href="source-class-modele.html#10-16" title="Go to source code">_getResults</a>( <span>mixed <var>$sql</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="_getOneResult" id="__getOneResult">

		<td class="attributes"><code>
			 protected 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#__getOneResult">#</a>
		<code><a href="source-class-modele.html#18-24" title="Go to source code">_getOneResult</a>( <span>mixed <var>$sql</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="getType" id="_getType">

		<td class="attributes"><code>
			 public 
			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getType">#</a>
		<code><a href="source-class-modele.html#25-31" title="Go to source code">getType</a>( )</code>

		<div class="description short">
			
<p>renvoi le type de modele publication|category|page</p>

		</div>

		<div class="description detailed hidden">
			
<p>renvoi le type de modele publication|category|page</p>




				<h4>Returns</h4>
				<div class="list">
					<code>string</code><br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="outputFormat" id="_outputFormat">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_outputFormat">#</a>
		<code><a href="source-class-modele.html#32-34" title="Go to source code">outputFormat</a>( <span>mixed <var>$string</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="inputFormat" id="_inputFormat">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_inputFormat">#</a>
		<code><a href="source-class-modele.html#35-37" title="Go to source code">inputFormat</a>( <span>mixed <var>$string</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="formatLink" id="_formatLink">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_formatLink">#</a>
		<code><a href="source-class-modele.html#38-46" title="Go to source code">formatLink</a>( <span>mixed <var>$link</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="urlize" id="_urlize">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_urlize">#</a>
		<code><a href="source-class-modele.html#47" title="Go to source code">urlize</a>( <span>mixed <var>$string</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="getDescriptionSEO" id="_getDescriptionSEO">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getDescriptionSEO">#</a>
		<code><a href="source-class-modele.html#48" title="Go to source code">getDescriptionSEO</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="getTitreSEO" id="_getTitreSEO">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getTitreSEO">#</a>
		<code><a href="source-class-modele.html#49" title="Go to source code">getTitreSEO</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="getDatas" id="_getDatas">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getDatas">#</a>
		<code><a href="source-class-modele.html#50" title="Go to source code">getDatas</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="setDatas" id="_setDatas">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_setDatas">#</a>
		<code><a href="source-class-modele.html#51" title="Go to source code">setDatas</a>( <span>mixed <var>$datas</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="save" id="_save">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_save">#</a>
		<code><a href="source-class-modele.html#52" title="Go to source code">save</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="update" id="_update">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_update">#</a>
		<code><a href="source-class-modele.html#53" title="Go to source code">update</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="delete" id="_delete">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_delete">#</a>
		<code><a href="source-class-modele.html#54" title="Go to source code">delete</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="getTemplate" id="_getTemplate">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getTemplate">#</a>
		<code><a href="source-class-modele.html#55" title="Go to source code">getTemplate</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="getCategory" id="_getCategory">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getCategory">#</a>
		<code><a href="source-class-modele.html#56" title="Go to source code">getCategory</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="debug" id="_debug">

		<td class="attributes"><code>
			 public 
			
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_debug">#</a>
		<code><a href="source-class-modele.html#58-67" title="Go to source code">debug</a>( <span>mixed <var>$obj</var></span> )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			







		</div>
		</div></td>
	</tr>
	<tr data-order="getTable" id="_getTable">

		<td class="attributes"><code>
			 public static
			string
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_getTable">#</a>
		<code><a href="source-class-modele.html#70-74" title="Go to source code">getTable</a>( )</code>

		<div class="description short">
			
		</div>

		<div class="description detailed hidden">
			



				<h4>Returns</h4>
				<div class="list">
					<code>string</code><br />
				</div>




		</div>
		</div></td>
	</tr>
	<tr data-order="findByPermalien" id="_findByPermalien">

		<td class="attributes"><code>
			 public static
			/modele
			
			</code>
		</td>

		<td class="name"><div>
		<a class="anchor" href="#_findByPermalien">#</a>
		<code><a href="source-class-modele.html#75-106" title="Go to source code">findByPermalien</a>( <span>string <var>$permalien</var></span>, <span>string <var>$modele</var> = <span class="php-quote">''</span></span>, <span>boolean <var>$redirectionAuto</var> = <span class="php-keyword1">true</span></span> )</code>

		<div class="description short">
			
<p>renvoi le modele correspondnat au permalien si $modele est précisé, la
recherche ne porte que sur ce type de modele si $redirectionAuto == true, les
redirection sont verifiés pour trouver le modele</p>

		</div>

		<div class="description detailed hidden">
			
<p>renvoi le modele correspondnat au permalien si $modele est précisé, la
recherche ne porte que sur ce type de modele si $redirectionAuto == true, les
redirection sont verifiés pour trouver le modele</p>



				<h4>Parameters</h4>
				<div class="list"><dl>
					<dt><var>$permalien</var></dt>
					<dd><code>string</code><br>$permalien</dd>
					<dt><var>$modele</var></dt>
					<dd><code>string</code><br>$modele</dd>
					<dt><var>$redirectionAuto</var></dt>
					<dd><code>boolean</code><br>$redirectionAuto</dd>
				</dl></div>

				<h4>Returns</h4>
				<div class="list">
					<code>/modele</code><br />
				</div>




		</div>
		</div></td>
	</tr>
	</table>












	<table class="summary" id="properties">
	<caption>Properties summary</caption>
	<tr data-order="_table" id="$_table">
		<td class="attributes"><code>
			protected static 
			mixed
		</code></td>

		<td class="name">
				<a href="source-class-modele.html#7" title="Go to source code"><var>$_table</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$_table" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	<tr data-order="type" id="$type">
		<td class="attributes"><code>
			public  
			mixed
		</code></td>

		<td class="name">
				<a href="source-class-modele.html#8" title="Go to source code"><var>$type</var></a>
		</td>
		<td class="value"><code></code></td>
		<td class="description"><div>
			<a href="#$type" class="anchor">#</a>

			<div class="description short">
				
			</div>

			<div class="description detailed hidden">
				

			</div>
		</div></td>
	</tr>
	</table>






</div>

	<div id="footer">
		pwe-project API documentation generated by <a href="http://apigen.org">ApiGen 2.8.0</a>
	</div>
</div>
</div>
</body>
</html>
